package item;

/**
 * Base class for all items.
 * @author pcdejager
 *
 */
public abstract class Item {
    /**
     * Constructor.
     * @param itemName The name of the item
     * @param itemCategory The item category
     * @param itemWeight The weight of the item
     */
    public Item(final String itemName, final ItemCategory itemCategory,
            final int itemWeight) {
        name = itemName;
        category = itemCategory;
        weight = itemWeight;
    }

    /**
     * Get the name of the item.
     * @return The name of the item
     */
    public final String getName() {
        return name;
    }

    /**
     * Get the item category.
     * @return The item category
     */
    public final ItemCategory getItemCategory() {
        return category;
    }

    /**
     * The weight of the item.
     * @return The item weight
     */
    public final int getWeight() {
        return weight;
    }

    /**
     * The name of the item.
     */
    private String name;

    /**
     * The item category.
     */
    private ItemCategory category;

    /**
     * The item weight.
     */
    private int weight;
}
